package com.jintoufs.domain.constants;

/**
 * 常量类，用于存放一些常量的声明定义
 *
 * @author fuhuo.zhang Date:2015-03-17
 */
public class Constants {

    /**
     * 精确到秒的时间格式
     */
    public static final String TIME_SECOND_FORMAT = "yyyyMMddHHmmss";

    /**
     * 精确到天的时间格式
     */
    public static final String TIME_DAY_FORMAT = "yyyyMMdd";

    /**
     * 强制退出
     */
    public static final String SESSION_FORCE_LOGOUT_KEY = "session.force.logout";
    /**
     * 当前登陆的用户
     */
    public static final String CURRENT_USER = "user";


    //用户状态
    public static final Byte USER_STATUS_QUIT = 0;//离职
    public static final Byte USER_STATUS_PROBATION = 1;//试用
    public static final Byte USER_STATUS_JOB = 2;//在职
    public static final Byte USER_STATUS_DISABLED = 3;//禁用
    public static final Byte LOG_TYPE_0 = 0;
    public static final Byte LOG_TYPE_1 = 1;
    public static final Byte USER_PASSWORD_NOT_MODIFY = 0;
    public static final Byte USER_PASSWORD_MODIFIED = 1;
}
